package com.maycur.ctrip.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * Created by JoeyXin on 6/29/16.
 */
public class FetchCtripOrderRequest {
    @JsonProperty(value = "Auth")
    private Authentification auth;

    @JsonProperty(value = "JourneyNo")
    private String journeyNo;

    @JsonProperty(value = "OrderId")
    private String orderId;

    @JsonProperty(value = "EID")
    private String eId;

    @JsonProperty(value = "UID")
    private String uId;

    @JsonProperty(value = "DateFrom")
    private String dateFrom;

    @JsonProperty(value = "DateTo")
    private String dateTo;

    @JsonProperty(value = "SearchType")
    private String searchType;

    @JsonProperty(value = "Version")
    private String version;

    public Authentification getAuth() {
        return auth;
    }

    public void setAuth(Authentification auth) {
        this.auth = auth;
    }

    public String getJourneyNo() {
        return journeyNo;
    }

    public void setJourneyNo(String journeyNo) {
        this.journeyNo = journeyNo;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String geteId() {
        return eId;
    }

    public void seteId(String eId) {
        this.eId = eId;
    }

    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = uId;
    }

    public String getDateFrom() {
        return dateFrom;
    }

    public void setDateFrom(String dateFrom) {
        this.dateFrom = dateFrom;
    }

    public String getDateTo() {
        return dateTo;
    }

    public void setDateTo(String dateTo) {
        this.dateTo = dateTo;
    }

    public String getSearchType() {
        return searchType;
    }

    public void setSearchType(String searchType) {
        this.searchType = searchType;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
